#include <stdio.h>

int main(void)
{
	int a;
	int *p;
	int **q;

	a = 100;
	p = &a;
	q = &p;

	printf("%d\n",a);
	printf("%d\n",*p);
	printf("%x\n", *p);
	printf("%d\n", *q);
	printf("0x%x\n", *q);
	printf("%d\n", **q);

	return 0;
}
